<%-- 
    Document   : Jstl3
    Created on : 2014/8/18, 下午 02:16:15
    Author     : gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="y" value="5" />
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
       <c:choose>
            <c:when test="${ y >5 }">
                 Hello
            </c:when>
            <c:when test="${ y <5 }">
                 world
            </c:when>  
            <c:otherwise>
                Hi
            </c:otherwise>     
        </c:choose>
    </body>
</html>
